package com.miraclemiles.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;
import java.util.List;

/**
 * 不需要认证的请求
 * @auther zhoudong
 * @date 2021/9/2 13:38
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/list")
    public List<String> list() {
        return Arrays.asList("test1", "test2", "test3");
    }
}
